#ifndef LOGICCONTROLXML_H
#define LOGICCONTROLXML_H

#include <QObject>
#include "BaseXml.h"
#include "DataType/AcLogicControlStruct.h"
#include "DataType/HeatLogicControlStruct.h"
#include "File/Xml/SavePointXml.h"
class LogicControlXml : public BaseXml<LogicControlXml>
{

public:
    friend class BaseXml<LogicControlXml>;

    bool parser();

    QList<ControlPointStruct> controlPointList(const ControlPointStruct &controlPoint);
    QList<ControlPointStruct> controlPointList(const QList<ControlPointStruct> &sourcePointList);
    bool setsetValue(quint16 addr, quint16 value);

    bool teststata;
    quint16 timego;

private:
    LogicControlXml();
    bool clear();
    QList<AcLogicControlStruct> m_acLogicControlList;
    QList<HeatLogicControlStruct> m_heatLogicControlList;

};

#endif // LOGICCONTROLXML_H
